$(function(){
	var ViewModel = function(){};
	var viewmodel = new ViewModel(jsonArray);
	viewmodel.datas = ko.observableArray(jsonArray);
	ko.applyBindings(viewmodel);
	

});

$('#refsoback').click(function(){
	summer.closeWin();
});

var jsonArray = [{
	"gname": "货物余量",
	"row": [{
		"materialname": "建福P.O.42.5（散）",
		"setnum": 40
	},{
		"materialname": "建福P.O.42.5A（散）",
		"setnum": 33
	},{
		"materialname": "建福P.O.42.5B（散）",
		"setnum": 22
	}]
}];


